{% extends 'base.html' %}
{% block stylesheet %}
{{ block.super }}
{% endblock%}

{% block javascript %}
{{ block.super }}
{% endblock%}


{% block content %}
<h2></h2>

<div id="navi">
    <ul>
    </ul>
</div>

<table>
    <tr>
        <td>{{ invoice.school.name }}</td>
        <td>{{ invoice.year }}</td>
        <td>{{ invoice.month }}</td>
        <td>{{ invoice.sent_email }}</td>
        <td>{{ invoice.status }}</td>
        <td>{{ invoice.start_date }}</td>
        <td>{{ invoice.end_date }}</td>
        <td>{{ invoice.uint_price }}</td>
        <td>{{ invoice.count_classes }}</td>
        <td>{{ invoice.total_price }}</td>
    </tr>
</table>

total count : {{ invoice.count_classes }}
<table>
{% for oneclass in oneclasses %}
    <tr>
        <td>{{ oneclass.date }}</td>
        <td>{{ oneclass.lesson }}</td>
    </tr>
{% endfor %}
</table>

{% endblock %}